package nl.hro.mobiqueen;

import nl.hro.mobiqueen.data.DatabaseSynchronizer;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;

public class MobiQueen extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		// Synchronize database
		DatabaseSynchronizer synchronizer = new DatabaseSynchronizer(this);
		synchronizer.syncArtists();
		synchronizer.syncPodia();
		synchronizer.syncEvents();
		
		//TODO remove this
		Toast.makeText(this, "Database Synchronization Complete", Toast.LENGTH_LONG).show();
	}
}